function mret = fit_grade( arg )

err = eval_grade(arg);

%err = err + (err > 0) * 2;
mret = sum(err);

end